home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / BUSINESS / MAST.LZH / INSTALL.BAT next >
DOS Batch File  |  1988-12-08  |  2KB  |  70 lines

  1. echo off
  2. rem The MULTI ASSISTANT files are INSTALL.BAT and MAST.ARC, and MAST.DOC
  3. rem          INSTALL.BAT is the installation program.
  4. rem          MAST.ARC contains the programs, and is in packed format.
  5. rem          PKXARC.COM will unpack MAST.ARC
  6. cls
  7. if .%1 == .a goto ckdupa
  8. if .%1 == .A goto ckdupa
  9. if .%1 == .b goto ckdupb
  10. if .%1 == .B goto ckdupb
  11. goto help
  12. :ckdupa
  13. if .%2 == .a goto help
  14. if .%2 == .A goto help
  15. goto ckdest
  16. :ckdupb
  17. if .%2 == .b goto help
  18. if .%2 == .B goto help
  19. :ckdest
  20. if .%2 == .a goto instalf
  21. if .%2 == .A goto instalf
  22. if .%2 == .b goto instalf
  23. if .%2 == .B goto instalf
  24. if .%2 == .c goto instalh
  25. if .%2 == .C goto instalh
  26. if .%2 == .d goto instalh
  27. if .%2 == .D goto instalh
  28. if .%2 == .e goto instalh
  29. if .%2 == .E goto instalh
  30. if .%2 == .f goto instalh
  31. if .%2 == .F goto instalh
  32. if .%2 == .g goto instalh
  33. if .%2 == .G goto instalh
  34. if .%2 == .h goto instalh
  35. if .%2 == .H goto instalh
  36. goto help
  37. :instalh
  38. echo Please install a write protect tab on your source disk.
  39. pause
  40. %2:
  41. CD \
  42. MD MAST
  43. CD MAST
  44. echo Unpack the files from %1:MAST.ARC to %2:\MAST
  45. %1:PKXARC -E %1:MAST %2:\MAST
  46. echo *
  47. echo         now just type     MAST      and enjoy
  48. echo *
  49. goto end
  50. :instalf
  51. echo Please install a write protect tab on your source disk.
  52. pause
  53. %2:
  54. echo Unpack the files from %1:MAST.ARC to %2:
  55. %1:PKXARC -E %1:MAST %2: MAST*.*
  56. echo *
  57. echo     you now have a sub-directory called %2:\MAST
  58. echo *
  59. echo         now just type     MAST      and enjoy
  60. echo *
  61. goto end
  62. :help
  63. cls
  64. echo *
  65. echo To install MULTI ASSISTANT from floppy A: to hard disk C:
  66. echo    INSTALL A  C
  67. echo To install MULTI ASSISTANT from floppy A: to floppy B:
  68. echo    INSTALL A  B
  69. :end
  70.